//
//  ReadPagePopView.h
//  KidReading
//
//  Created by telen on 16/1/20.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface PageImageScrollView : UIScrollView<UIScrollViewDelegate>
@property(nonatomic,assign)BOOL tapForNext;
- (void)addPanForScrollView;
@end

#pragma mark-
typedef void(^Blok_toPlay)(BOOL play);
@interface PageAudioCtrView : UIView
@property(nonatomic,strong)NSString* audio_style;
@property(nonatomic,strong)NSString* mp3file;
@property(nonatomic,assign)CGFloat ratio;
@property(nonatomic,strong)Blok_toPlay blocktoplay;
+ (instancetype)getAudioCtr;
- (void)doneSetting;
@end

#pragma mark-
@class KoK_RectView,PageView;
@interface ReadPagePopView : UIView <UIWebViewDelegate>
@property(nonatomic,assign)CGFloat bookRatioWH;
@property(nonatomic,assign)NSInteger bookid;
@property(nonatomic,strong)KoK_RectView* rectview;
@property(nonatomic,strong)NSDictionary* popInfo;
@property(nonatomic,strong)PageView* pageView;
//
@property(nonatomic,assign)NSInteger bookOid;
@property(nonatomic,strong)NSString* pageName;
//
@property(nonatomic,assign)CGFloat ratio;

- (void)show:(UIViewController*)parentVC;//如果 parentVC==nil 加在pageView上

@end
